<template>
  <div>
    Ref&ParentPage
   <hr>
<RefParentComp ref="comp1"></RefParentComp>
  </div>
</template>

<script setup lang="ts">
import { ref,onMounted } from 'vue';
import RefParentComp from '@/components/RefParentComp.vue';
onMounted(()=>{
  let comp1=ref()
  console.log( comp1.value);
})


</script>
<style lang="scss" scoped>
</style>
